import Link from 'next/link'

import ThreadList from '@/components/chat/ThreadList'

export default function SideBar() {
  return (
    <div className="w-[260px] flex flex-col px-4">
      <header>
        <Link href="/protected">
          <h1>Home</h1>
        </Link>
      </header>
      <main className="flex-1 overflow-y-auto py-4">
        <ThreadList />
      </main>
      <footer>xx</footer>
    </div>
  )
}
